package com.example.hello.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@TableName("work_experience")
public class WorkExperience {
    @TableId(type = IdType.AUTO)
    private Integer id;
    
    @TableField("employee_id")
    private Integer employeeId;
    
    @TableField("company_name")
    private String companyName;
    
    private String position;
    
    @TableField("start_date")
    private LocalDate startDate;
    
    @TableField("end_date")
    private LocalDate endDate;
    
    private String description;
    
    @TableField("create_time")
    private LocalDateTime createTime;
    
    @TableField("update_time")
    private LocalDateTime updateTime;
} 